﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;

namespace KPIS.GERP.GIMS.IBLL
{
    public interface IBLLResourceMasterItem
    {
        IList<ResourceMasterItemInfo> GetResourceMasterItem();
        IList<ResourceMasterItemInfo> GetResourceMasterItem(string record_status);
        ResourceMasterItemInfo GetResourceMasterItem(int seq);
        IList<ResourceMasterItemInfo> GetResourceMasterItem(Nullable<int> Sequence, Nullable<int> ResourceType, string SearchText);
        IList<ResourceMasterItemInfo> GetResourceMasterItemWithParent(int sub_group_seq);
        
        void Insert(ResourceMasterItemInfo info);
        void Update(ResourceMasterItemInfo info, string change_file);
        void Delete(ResourceMasterItemInfo info);
        void DeleteAll(IList<ResourceMasterItemInfo> infoList);
        void DeleteFromDB(IList<ResourceMasterItemInfo> infoList);
        void Restore(IList<ResourceMasterItemInfo> infoList);
    }
}
